package org.jeecg.modules.demo.modellist.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import org.jeecg.modules.demo.modellist.entity.Modellist;
import org.jeecg.modules.demo.modellist.mapper.ModellistMapper;
import org.jeecg.modules.demo.modellist.service.IModellistService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: modellist
 * @Author: jeecg-boot
 * @Date:   2025-07-29
 * @Version: V1.0
 */
@DS("multi-datasource1")
@Service
public class ModellistServiceImpl extends ServiceImpl<ModellistMapper, Modellist> implements IModellistService {

    @Override
    public List getModelByBrandName(String brandName) {
        return baseMapper.getModelByBrandName(brandName);
    }
}
